package com.gxa.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("预约信息")
@JsonIgnoreProperties(value={"hibernateLazyInitializer","handler","fieldHandler"})
public class SysReservation {
  @ApiModelProperty("预约信息的唯一主键")
  private Integer id;
  @ApiModelProperty("患者ID")
  private Integer patientId;
  @ApiModelProperty("预约日期")
  private java.sql.Timestamp date;
  @ApiModelProperty("预约状态（已处理/未处理）")
  private Byte status;
  @ApiModelProperty("用户ID 指的是负责人（医生）的ID")
  private Integer userId;
  @ApiModelProperty("创建时间")
  private java.sql.Timestamp createTime;
  @ApiModelProperty("更新时间")
  private java.sql.Timestamp updateTime;
  @ApiModelProperty("是否被删除")
  private Byte isDeleted;

  /**
   * 有关联的实体类
   */
  @ApiModelProperty("预约信息与患者的实体类")
  private SysPatient sysPatient;
  @ApiModelProperty("用户（负责人信息）")
  private SysUser sysUser;
}
